package com.bsj.sipgateway.mysql.bsj.vehicle.mapper;

import com.bsj.sipgateway.mysql.bsj.vehicle.entity.Vehicle;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 车辆信息 Mapper 接口
 * </p>
 *
 * @author wph
 * @since 2022-08-04
 */
public interface VehicleMapper extends BaseMapper<Vehicle> {

    public List<Vehicle> queryVehicleAndGroup();

    public int updateChannelId(String deviceId,String channelId);

    public int resetChannel(String deviceId,String cameraLine,String cameraAlias,String cameraChannelId);

    public int updateExpireDate(String deviceId);
}
